package cn.moningxi.service.impl;

import cn.moningxi.bean.WebsiteAdver;
import cn.moningxi.mapper.WebsiteAdverMapper;
import cn.moningxi.service.WebsiteAdverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class WebsiteAdverServiceImpl implements WebsiteAdverService {
    @Autowired
    WebsiteAdverMapper websiteAdverMapper;
    @Override
    public List<WebsiteAdver> getAll() {
        return websiteAdverMapper.getAll();
    }
}
